home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Libris Britannia 4
/
science library(b).zip
/
science library(b)
/
PROGRAMM
/
1997.ZIP
/
INPFLD10.ARC
/
DSPFIELD.C
< prev
next >
Wrap
Text File
|
1987-07-30
|
520b
|
15 lines
/* --------------------------------------------------------- */
/* dispfield - Display the field and position the cursor. */
/* M. Burton 20 Jul 87 Written for TurboC V1.0 */
/* --------------------------------------------------------- */
void dispfield(int y, int x, int size,int attr,int pcol,char *ibuf, char filler)
{
char s[81], f[81];
strcpy(s,ibuf);
strconst(f,filler,size-strlen(ibuf));
strcat(s,f);
displine(y,x,attr,s); /* Display the field */
cursor(y,x+pcol-1);
}